# -*- coding:utf-8 -*-
from scrapy.cmdline import execute
import sys
import os

sys.path.append(os.path.dirname(os.path.abspath(__file__)))
execute(["scrapy", "crawl", "jianshu"])


# 暂停2 crawl spider lagou -s JOBDIR=job_info/001
# scrapy startproject [爬虫项目名称]
# scrapy genspider -t crawl [爬虫名字] [域名]